[package]
name = "pager_bot"
version = "0.1.0"
edition = "2021"
authors = ["Dmitry Zhiltsov <dmitriy@pushamp.com>"]


[dependencies]
subprocess = "0.2.8"
clap = { version = "4.2.4", features = ["env", "derive"] }
serde = { version = "1" }
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
teloxide = { version = "0.12.0", features = ["macros", "auto-send"] }
log = "0.4"
lazy_static = "1.4.0"
pretty_env_logger = "0.4.0"
derive_builder = "0.12.0"
tokio = { version = "1.8", features = ["rt-multi-thread", "macros"] }
actix-web = "4"
actix-web-httpauth = "0.8.0"
rust-argon2 = "1.0"
rand = "0.8.5"
rpassword = "7.2"
rusqlite = { version = "0.29.0", features = ["bundled"] }

[profile.release]
opt-level = 'z'     # Optimize for size
lto = true          # Enable link-time optimization
codegen-units = 1   # Reduce number of codegen units to increase optimizations
panic = 'abort'     # Abort on panic
strip = true
